package com.xiaoq.shop.vo;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

/**
 * Created by chenjh on 2017/12/12.
 */
public class SPUReviewScoreVo implements Serializable {
    private static final long serialVersionUID = -3397732748391446483L;

    /** 店ID */
    @ApiModelProperty(name = "shopId", value = "店ID")
    private String shopId;

    /** 打分总人数 */
    @ApiModelProperty(name = "totalNum", value = "打分总人数")
    private int totalNum;

    /** 打分总分数 */
    @ApiModelProperty(name = "totalScore", value = "打分总分数")
    private int totalScore;

    /** 打分平均数 */
    @ApiModelProperty(name = "avgScore", value = "打分平均数")
    private double avgScore;

    /** 打分平均数 */
    @ApiModelProperty(name = "scoreStatList", value = "打分统计")
    private List<ScoreStat> scoreStatList;

    public static class ScoreStat{
        /** 打分， 星数 */
        @ApiModelProperty(name = "score", value = "打分， 星数")
        private int score;

        /** 打分,人数 */
        @ApiModelProperty(name = "num", value = "打分,人数")
        private int num;

		public int getScore() {
			return score;
		}

		public void setScore(int score) {
			this.score = score;
		}

		public int getNum() {
			return num;
		}

		public void setNum(int num) {
			this.num = num;
		}
    }

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public int getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}

	public int getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(int totalScore) {
		this.totalScore = totalScore;
	}

	public double getAvgScore() {
		return avgScore;
	}

	public void setAvgScore(double avgScore) {
		this.avgScore = avgScore;
	}

	public List<ScoreStat> getScoreStatList() {
		return scoreStatList;
	}

	public void setScoreStatList(List<ScoreStat> scoreStatList) {
		this.scoreStatList = scoreStatList;
	}

}
